<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.org/rich"
	template="../include/template.xhtml">
	<ui:define name="title">
		<h:outputText value="管理--" />
	</ui:define>

	<ui:define name="content">
		<link type="text/css" rel="stylesheet" href="../css/global.css" />
		<br />
		<h:graphicImage value="../images/provider.bmp"></h:graphicImage>
		<h:outputText value="后台管理" class="strong"></h:outputText>
		<rich:separator lineType="double" height="2px" />
		<rich:spacer width="30px"></rich:spacer>
		<s:div styleClass="right_center">
		<h:panelGrid columns="4" width="50%">
			<s:link value="目录树管理" view="/admin/category.xhtml"></s:link>
			<s:link value="角色管理" view="/admin/role.xhtml"></s:link>
			<s:link value="用户管理" view="/admin/users.xhtml"></s:link>
			<script language="javascript" type="text/javascript"
				src="http://js.users.51.la/2146945.js"></script>
		</h:panelGrid>
		</s:div>

		<s:div styleClass="right_center">
			
			<h:outputText value="所有用户" class="strong" />
			<rich:dataGrid value="#{userAction_users}" var="user" columns="2"
				width="100%">
				<h:panelGrid columns="2">
					<h:graphicImage width="40" height="48"
						value="../upload/userFace/#{user.faceImage==null?'user3.gif':user.faceImage}"></h:graphicImage>
					<h:panelGroup>
						<h:outputText value="昵称:" />
						<s:link value="#{user.nickName}" view="/admin/user_role.xhtml"
							title="#{user.nickName}">
							<f:param name="userId" value="#{user.id}" />
						</s:link>
						<br />
						<h:outputText value="特长:" />
						<h:outputText value="#{user.specialty}" />
					</h:panelGroup>
				</h:panelGrid>
			</rich:dataGrid>

		</s:div>

		
	</ui:define>
</ui:composition>
